package com.uzai.console.service.mini;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.uzai.console.dto.mini.miniorder.MiniOrderIdDto;
import com.uzai.console.dto.mini.miniorder.MiniOrderQuery;
import com.uzai.console.dto.mini.miniorder.MiniOrderSendDto;
import com.uzai.console.vo.mini.miniorder.MiniOrderVo;

/**
 * @author liuqi
 * @date 2021年08月13日 11:33
 */
public interface MiniOrderService {

    /**
     * 分页查询小程序团购订单列表
     * @author liuqi
     * @date 2021/8/13 11:38
     * @return CmsTbOrderInfoVo
     */
    Page<MiniOrderVo> findMiniOrderByPage(MiniOrderQuery miniOrderQuery);

    /**
     * 查询小程序团购订单列表
     * @author liuqi
     * @date 2021/8/13 11:38
     * @return CmsTbOrderInfoVo
     */
    MiniOrderVo findMiniOrderById(MiniOrderIdDto miniOrderIdDto);

    /**
     * 删除小程序团购订单信息
     * @author liuqi
     * @date 2021/8/13 11:38
     * @return null
     */
    void deleteMiniOrder(MiniOrderIdDto miniOrderIdDto);

    /**
     * 小程序团购订单发货
     * @author liuqi
     * @date 2021/8/13 11:38
     * @return null
     */
    void sendMiniOrder(MiniOrderSendDto miniOrderSendDto);

    /**
     * 小程序团购订单确认收货
     * @author liuqi
     * @date 2021/8/13 11:38
     * @return null
     */
    void confirmReceiveMiniOrder(MiniOrderIdDto miniOrderIdDto);

    /**
     * 小程序团购订单取消
     * @author liuqi
     * @date 2021/8/13 11:38
     * @return null
     */
    void cancelMiniOrder(MiniOrderIdDto miniOrderIdDto);


}
